package at.jsug.topicvoting.gwt1.client;

import at.jsug.topicvoting.gwt1.client.logic.FrontController;
import at.jsug.topicvoting.gwt1.client.remote.DummyDataFacade;
import at.jsug.topicvoting.gwt1.client.remote.IDataFacade;
import at.jsug.topicvoting.gwt1.client.view.MainWindow;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;

public class App implements EntryPoint {

	public static final IDataFacade DATA_FACADE = DummyDataFacade.getInstance(); // new DataFacadeImpl(); 
	
	public void onModuleLoad() {
		
		FrontController.initialize();
		
		RootPanel.get().add(new MainWindow());
		
	}
}
